<template>
  <div style="height: 100%;text-align: left;max-width: 800px;margin: auto;background: #f0f0f0">
    <h3 style="text-align: center;margin-bottom: 12px">导航</h3>
    <div style="margin-top: 12px;margin-left: 12px" v-for="item in page">
      <a @click="$router.push(item.url)">{{item.name}}</a>
    </div>
  </div>
</template>


<script>
  export default {
    data(){
      return {
        //  这个地址 可以在后台进行统一的配置
        page:[
          {name:'登录', url:"/login.html"},
          {name:'注册', url:"/register.html"},
          {name:'redis控制台', url:"/redis_console.html"},
          {name:'模板管理', url:"/auth/template.html"},
          {name:'文档中心', url:"/auth/doc"},
          {name:'定时任务', url:"/cron.html"},
          {name:'日志管理', url:"/logConsole.html"},
          {name:'json', url:"/json.html"},
          {name:'字典管理', url:"/dict.html"},
          {name:'admin', url:"/auth/admin"},
          //{name:'jenkins', url:"/dict.html"},
          //{name:'docker模块', url:"/dict.html"},
        ]
      }
    },

    created(){

    },

    mounted(){

    }
  }
</script>